//
//  BLFontWithColor.swift
//  BLLiveTelecast
//
//  Created by BigL055 on 16/5/25.
//  Copyright © 2016年 bigL.liveTelecast.com. All rights reserved.
//

import UIKit

let bl_Font_14 : UIFont = UIFont.systemFontOfSize(14)

let bl_Font_20 : UIFont = UIFont.systemFontOfSize(20)

let bl_Font_10 : UIFont = UIFont.systemFontOfSize(10)


let bl_orangeColor : UIColor = UIColor.orangeColor()


func bl_ARGBColor(alpha alpha : Float,
                        red : Float,
                        green : Float,
                        blue : Float) -> UIColor {
    return UIColor(colorLiteralRed: red/255, green: green/255, blue: blue/255, alpha: alpha/255)
}

func bl_randomColor() -> UIColor {
    return bl_ARGBColor(alpha: 255,
                        red: Float(arc4random_uniform(255)),
                        green: Float(arc4random_uniform(255)),
                        blue: Float(arc4random_uniform(255)))
}

